const koa = require("koa");
const app = new koa();
const shop = require("./data/shop")
const router = require("koa-router")();
router.get("/cart",async ctx=>{
    ctx.body = shop
})
app.use(router.routes());
app.listen(3000)